package com.siashan.unipay4j.wx;

import com.siashan.unipay4j.core.IBaseEnum;

/**
 * 货币类型枚举
 *
 * @author siashan
 * @version V2.0.1
 **/
public enum CurrencyEnum implements IBaseEnum<String> {
    /**
     * 人民币
     */
    CNY("CNY", "人民币"),
    ;


    private String value;
    private String desp;

    CurrencyEnum(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }


    public void setValue(String value) {
        this.value = value;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    /**
     * 获取枚举value值
     *
     * @return T
     */
    @Override
    public String getValue() {
        return this.value;
    }

    /**
     * 获取枚举desp值
     *
     * @return desp值
     */
    @Override
    public String getDesp() {
        return this.desp;
    }
}
